﻿@model List<Kunlun.Models.Category>
@{int cid = (int)ViewData["CateID"];}
@foreach (Kunlun.Models.Category cate in Model.Where(o=>o.ParentID == cid)) {
	<dl>
		<dt><a href="@Url.Action("Search", "Frame", new { Classid = cate.ID })" target="_blank">@cate.Cname</a></dt>
		@foreach (Kunlun.Models.Category cate2 in Model.Where(m => m.ParentID == cate.ID)) {
			<dd>
				<a href="@Url.Action("Search", "Frame", new { Classid = cate2.ID })" target="_blank">@cate2.Cname</a></dd>
  }
	</dl>
}
